package cn.demoncat.util.word.entity;

import cn.demoncat.util.word.constant.WordGenConstant;

/**
 * Word文档 - 内容
 *
 * @author 延晓磊
 * @since 2021年04月12日
 */
public class WordContent {

    /**
     * 内容类型：默认WordGenConstant.ContentType.PARAGRAPH
     */
    private String type = WordGenConstant.ContentType.PARAGRAPH;
    /**
     * 内容数据 - 段落
     */
    private WordParagraph paragraph;
    /**
     * 内容数据 - 表格
     */
    private WordTable table;


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public WordParagraph getParagraph() {
        return paragraph;
    }

    public void setParagraph(WordParagraph paragraph) {
        this.paragraph = paragraph;
    }

    public WordTable getTable() {
        return table;
    }

    public void setTable(WordTable table) {
        this.table = table;
    }
}
